home *** CD-ROM | disk | FTP | other *** search
- /*
- File: CMPRComponent.h
-
- Contains: ColorSync ProfileResponder Components Interface
-
- Version: Technology: ColorSync 2.0
- Release: 2.0f3
-
- Copyright: © 1984-1994 by Apple Computer, Inc.
- All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
-
- #ifndef __CMPRCOMPONENT__
- #define __CMPRCOMPONENT__
-
-
- #ifndef __TYPES__
- #include <Types.h>
- #endif
- /* #include <ConditionalMacros.h> */
-
- #ifndef __QUICKDRAW__
- #include <Quickdraw.h>
- #endif
- /* #include <MixedMode.h> */
- /* #include <QuickdrawText.h> */
- /* #include <ScriptLayout.h> */
-
- #ifndef __COMPONENTS__
- #include <Components.h>
- #endif
-
- #ifndef __CMAPPLICATION__
- #include <CMApplication.h>
- #endif
- /* #include <Files.h> */
- /* #include <OSUtils.h> */
- /* #include <Memory.h> */
- /* #include <Finder.h> */
- /* #include <Printing.h> */
- /* #include <Errors.h> */
- /* #include <Dialogs.h> */
- /* #include <Windows.h> */
- /* #include <Events.h> */
- /* #include <Controls.h> */
- /* #include <Collections.h> */
- /* #include <Appearance.h> */
- /* #include <TextObjects.h> */
- /* #include <Unicode.h> */
- /* #include <Menus.h> */
- /* #include <AppleEvents.h> */
- /* #include <EPPC.h> */
- /* #include <AppleTalk.h> */
- /* #include <PPCToolbox.h> */
- /* #include <Processes.h> */
- /* #include <Notification.h> */
- /* #include <Kernel.h> */
- /* #include <MachineExceptions.h> */
- /* #include <Timing.h> */
- /* #include <Drag.h> */
- /* #include <TextEdit.h> */
- /* #include <CMICCProfile.h> */
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- #if GENERATINGPOWERPC
- #pragma options align=mac68k
- #endif
-
- #ifdef __CFM68K__
- #pragma import on
- #endif
-
-
- enum {
- CMPRInterfaceVersion = 0
- };
-
- /* Component function selectors */
- enum {
- kCMPRGetProfile = 0,
- kCMPRSetProfile = 1,
- kCMPRSetProfileDescription = 2,
- kCMPRGetIndexedProfile = 3,
- kCMPRDeleteDeviceProfile = 4
- };
-
- extern pascal CMError CMGetProfile(ComponentInstance pr, CMProfileHandle aProfile, CMProfileHandle *returnedProfile)
- FIVEWORDINLINE(0x2F3C, 8, 0, 0x7000, 0xA82A);
- extern pascal CMError CMSetProfile(ComponentInstance pr, CMProfileHandle newProfile)
- FIVEWORDINLINE(0x2F3C, 4, 1, 0x7000, 0xA82A);
- extern pascal CMError CMSetProfileDescription(ComponentInstance pr, long DeviceData, CMProfileHandle hProfile)
- FIVEWORDINLINE(0x2F3C, 8, 2, 0x7000, 0xA82A);
- extern pascal CMError CMGetIndexedProfile(ComponentInstance pr, CMProfileSearchRecordHandle search, CMProfileHandle *returnProfile, long *index)
- FIVEWORDINLINE(0x2F3C, 12, 3, 0x7000, 0xA82A);
- extern pascal CMError CMDeleteDeviceProfile(ComponentInstance pr, CMProfileHandle deleteMe)
- FIVEWORDINLINE(0x2F3C, 4, 4, 0x7000, 0xA82A);
-
- #ifdef __CFM68K__
- #pragma import off
- #endif
-
- #if GENERATINGPOWERPC
- #pragma options align=reset
- #endif
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif /* __CMPRCOMPONENT__ */
-